gtkwindow: remove headerbar after disposing parent
authorOlivier Fourdan <ofourdan@redhat.com>
Wed, 25 Nov 2015 17:06:53 +0000 (18:06 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Tue, 1 Dec 2015 15:18:03 +0000 (16:18 +0100)
commit103d369ff6ebff489a1b3d8ad99f51a604ce8225
treed9b0d73e87a7ced349ad2eb8fe9502aed5cf6e7c
parentf37aa415cd65738d9e333f993cbdb06f0442174c
gtkwindow: remove headerbar after disposing parent

Widgets such as gtkfilechooser may be saving their size and position on
the unmap callback, if the client-side decoration header bar is removed
first, the reported size will be wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=756618
gtk/gtkwindow.c